package com.boardgame.gwt.service.operate.action.buy;

import com.boardgame.common.entity.ResponseInfo;
import com.boardgame.gwt.data.GwtGameBoard;
import com.boardgame.gwt.data.GwtPlayerInfo;
import com.boardgame.gwt.data.space.GwtSpace;
import com.boardgame.gwt.finalinfo.SyntaxMatchFinal;
import com.boardgame.gwt.service.operate.SyntaxBaseAction;
import com.boardgame.gwt.service.operate.SyntaxRequest;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * 买人行动
 * 多花0元
 */
public class BuyWorker0Action extends BuyWorkerBaseAction {
    @Override
    public Pattern getPattern() {
        return Pattern.compile(SyntaxMatchFinal.BUY_WORKER_0_ACTION);
    }

    @Override
    protected int getWorkerExtralCost() {
        return 0;
    }
    public static BuyWorker0Action create(){
        return new BuyWorker0Action();
    }

}
